$OpenBSD: patch-kjs_CMakeLists_txt,v 1.4 2013/12/08 19:13:32 zhuk Exp $
--- kjs/CMakeLists.txt.orig	Wed Aug 28 20:57:06 2013
+++ kjs/CMakeLists.txt	Tue Nov  5 11:05:21 2013
@@ -242,7 +242,7 @@ kde4_add_executable(kjs_bin NOGUI ${kjs_SRCS})
 
 set_target_properties(kjs_bin PROPERTIES RUNTIME_OUTPUT_NAME ${kjs_bin_OUTPUT_NAME})
 
-target_link_libraries(kjs_bin ${KJSLIBNAME})
+target_link_libraries(kjs_bin ${KJSLIBNAME} ${CMAKE_THREAD_LIBS_INIT})
 
 install(TARGETS kjs_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
 
